package com.wangyi.im.request;

import com.alibaba.fastjson.JSONArray;

public class IMUserRequest {

    private String accid;

    private String donnopOpen;

    private Boolean mute;

    private String name;

    private String icon;

    private IMUserRequest(String accid, String donnopOpen, Boolean mute, String name, String icon){
        this.accid = accid;
        this.donnopOpen =donnopOpen;
        this.mute = mute;
        this.name = name;
        this.icon = icon;
    }

    public static class Builder{

        private String accid;

        private String donnopOpen;

        private Boolean mute;

        private String name;

        private String icon;

        public IMUserRequest build(){
            return new IMUserRequest(accid, donnopOpen, mute, name, icon);
        }

        public Builder setAccid(String accid) {
            this.accid = accid;
            return this;
        }

        public Builder setDonnopOpen(String donnopOpen) {
            this.donnopOpen = donnopOpen;
            return this;
        }

        public Builder setMute(Boolean mute) {
            this.mute = mute;
            return this;
        }

        public Builder setName(String name) {
            this.name = name;
            return this;
        }

        public Builder setIcon(String icon) {
            this.icon = icon;
            return this;
        }
    }
}
